<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>登录页面_AmaAdmin后台管理系统模板 - 源码之家</title>
<link rel="stylesheet" href="<?=base_url('public/admin/css/style.default.css')?>" type="text/css" />
<script type="text/javascript" src="<?=base_url('public/admin/js/plugins/jquery-1.7.min.js')?>"></script>
<script type="text/javascript" src="<?=base_url('public/admin/js/plugins/jquery-ui-1.8.16.custom.min.js')?>"></script>
<script type="text/javascript" src="<?=base_url('public/admin/js/plugins/jquery.cookie.js')?>"></script>
<script type="text/javascript" src="<?=base_url('public/admin/js/plugins/jquery.uniform.min.js')?>"></script>
<script type="text/javascript" src="<?=base_url('public/admin/js/custom/general.js')?>"></script>
<script type="text/javascript" src="<?=base_url('public/admin/js/custom/index.js')?>"></script>
<!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="<?=base_url('public/admin/css/style.ie9.cs')?>s"/>
<![endif]-->
<!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="<?=base_url('public/admin/css/style.ie8.css')?>"/>
<![endif]-->
<!--[if lt IE 9]>
    <script src="<?=base_url('public/admin/js/plugins/css3-mediaqueries.js')?>"></script>
<![endif]-->
</head>
<body class="loginpage">
    <div class="loginbox">
        <div class="loginboxinner">
            
            <div class="logo">
                <h1 class="logo">Ama.<span>Admin</span></h1>
                <span class="slogan">后台管理系统</span>
            </div><!--logo-->
            
            <br clear="all" /><br />

            <?php if($this->session->err):?>
                <div>
                    <div class="loginmsg"><?=$this->session->err?></div>
                </div>
            <?php endif;?>
            
            <div class="nousername">
                <div class="loginmsg">请输入账号密码.</div>
            </div><!--nousername-->
            

            
            
            <form id="login" action="<?=site_url('admin/login/set_login')?>" method="post">
                
                <div class="username">
                    <div class="usernameinner">
                        <input type="text" name="username" id="username" value="<?=$this->session->l_username?>" />
                    </div>
                </div>

                <div>
                    <?php if($this->session->l_username): ?>
                    <div class="loginf">
                        <div class="thumb"><img alt="" src="<?=base_url('public/admin/images/thumbs/avatar1.png')?>" /></div>
                        <div class="userlogged">
                            <h4></h4>
                            <a href="<?=site_url('admin/login')?>">Not <span></span>?</a> 
                        </div>
                    </div><!--loginf-->
                    <?php endif;?>
                </div><!--nopassword-->
                
                <div class="password">
                    <div class="passwordinner">
                        <input type="password" name="password" id="password" />
                    </div>
                </div>
                
                <button>登录</button>
                
                <!-- <div class="keep"><input type="checkbox" /> 记住密码</div> -->
            
            </form>
            
        </div><!--loginboxinner-->
    </div><!--loginbox-->


</body>
</html>